import torch
import numpy as np

a = torch.ones(5)
b = a.numpy()
print(id(a), id(b))
print(a)

print("__________________________")
a = np.ones(5)
b = torch.from_numpy(a)
print(a, b)

a += 1
print(a, b)
b += 1
print(a, b)
